WPBannerize\Models\WPBannerizePost A

Total Complexity 74
Dependencies 3
Dependents 5
Total lines 577
Lines of code 365
Logical lines of code 173
Comment lines 64
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
getSizeWithURL()
A
50 8 29
getImage()
S
51 6 25
__get()
S
55 6 19
where()
S
55 5 20
metaQuery()
S
43 1 64
getBannerAttributes()
S
58 3 15
thumbnail()
S
66 3 8
preview()
S
66 3 8
getText()
S
68 3 6
getWidth()
S
70 3 6
getHeight()
S
70 3 6
renderBanner()
S
59 2 15
getContentBasedOnMimeType()
S
67 3 8
getBannerStyles()
S
62 3 10
getMimeTypesWithExtension()
S
60 2 14
getBannerTypeAttribute()
S
79 2 3
getBannerClasses()
S
66 2 8
getUrl()
S
79 2 3
ext()
S
65 2 9
getDescription()
S
75 2 4
expired()
S
62 1 11
max_clicks()
S
62 1 11
scheduled()
S
62 1 11
timed()
S
62 1 11
max_impressions()
S
62 1 11
all()
S
70 1 6
getBannerClicksAttribute()
S
73 1 5
display()
S
68 1 7
__toString()
S
70 1 7
getBannerImpressionsAttribute()
S
73 1 5